<?php
/**
 * Created by PhpStorm.
 * User: WenQing
 * Date: 2017/6/21
 * Time: 11:04
 */
namespace App\Service;

use App\Permission;

class PermissionService extends BaseService
{
    /**
     * 获取所有的权限
     * @return \Illuminate\Database\Eloquent\Collection|static[]
     * create WenQing
     */
    public function getAllPermission()
    {
        return Permission::all();
    }
}